﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
using GBG_DBM.Support.DAL.Entities;
namespace GBG_DBM.Support.DAL.DB
{
	public class STDDB
	{
		private DAO _DAO = new DAO();
		public DataTable getSTDs()
		{
			OleDbCommand OleDB = new OleDbCommand("Select * from [STD QTY]");
			return _DAO.GetDataTable(OleDB);
		}
		public DataTable getSTDByID(string ID)
		{
            OleDbCommand OleDB = new OleDbCommand("Select * from [STD QTY] where [Supplier Code]='" + ID + "'");
			return _DAO.GetDataTable(OleDB);
		}
	}
}
